Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Run Stored-Proc statement execution with the LOAD-RESULT-INTO phrase
Progress also supports a stored procedure implementation you can execute to obtain result sets and load these results into temp-tables. You must define result set(s) target as part of the
RUN STORED-PROCstatement. You do not explicitly close aRUN STORED_PROCdefined this way as you do with buffer methods of retrieving result sets; theLOAD-RESULT-INTOfunction achieves this goal implicitly.This is the syntax for the
RUNSTORED–PROCstatement implementation when loading result sets to temp-tables:
The
RUN STORED-PROCstatement sets up the execution of the stored-procedure, retrieves the result set(s), and loads it into the temp-table(s) provided you use theLOAD-RESULT-INTOfunction. TheCLOSE STORED-PROCstatement is automatically applied when the result set(s) is loaded into temp-tables because using temp-tables must consume all result sets of the procedure.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |